package com.edu.entity;

/*
 * 给前端的商品类，将部分数字id转换为字符串
 */
public class GoodsToWeb {
	private int goodid;
	private String goodname;
	private double goodprice;
	private double oriprive;
	private String goodtype;
	private int goodnum = 0;
	private String gooddec;
	private String goodimg;
	private String goodstat;
	private String goodFreightType;
	private String goodTradetType;
	private int sellerId = 0;
	private int goodOnSellStat;
	private Object seller;
	private String brand;
	
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public int getGoodid() {
		return goodid;
	}
	public void setGoodid(int goodid) {
		this.goodid = goodid;
	}
	public String getGoodname() {
		return goodname;
	}
	public void setGoodname(String goodname) {
		this.goodname = goodname;
	}
	public double getGoodprice() {
		return goodprice;
	}
	public void setGoodprice(double goodprice) {
		this.goodprice = goodprice;
	}
	public double getOriprive() {
		return oriprive;
	}
	public void setOriprive(double oriprive) {
		this.oriprive = oriprive;
	}
	public String getGoodtype() {
		return goodtype;
	}
	public void setGoodtype(String goodtype) {
		this.goodtype = goodtype;
	}
	public int getGoodnum() {
		return goodnum;
	}
	public void setGoodnum(int goodnum) {
		this.goodnum = goodnum;
	}
	public String getGooddec() {
		return gooddec;
	}
	public void setGooddec(String gooddec) {
		this.gooddec = gooddec;
	}
	public String getGoodimg() {
		return goodimg;
	}
	public void setGoodimg(String goodimg) {
		this.goodimg = goodimg;
	}
	public String getGoodstat() {
		return goodstat;
	}
	public void setGoodstat(String goodstat) {
		this.goodstat = goodstat;
	}
	public String getGoodFreightType() {
		return goodFreightType;
	}
	public void setGoodFreightType(String goodFreightType) {
		this.goodFreightType = goodFreightType;
	}
	public String getGoodTradetType() {
		return goodTradetType;
	}
	public void setGoodTradetType(String goodTradetType) {
		this.goodTradetType = goodTradetType;
	}
	public int getSellerId() {
		return sellerId;
	}
	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}
	public int getGoodOnSellStat() {
		return goodOnSellStat;
	}
	public void setGoodOnSellStat(int goodOnSellStat) {
		this.goodOnSellStat = goodOnSellStat;
	}
	public Object getSeller() {
		return seller;
	}
	public void setSeller(Object seller) {
		this.seller = seller;
	}
	@Override
	public String toString() {
		return "GoodsToWeb [goodid=" + goodid + ", goodname=" + goodname + ", goodprice=" + goodprice + ", oriprive="
				+ oriprive + ", goodtype=" + goodtype + ", goodnum=" + goodnum + ", gooddec=" + gooddec + ", goodimg="
				+ goodimg + ", goodstat=" + goodstat + ", goodFreightType=" + goodFreightType + ", goodTradetType="
				+ goodTradetType + ", sellerId=" + sellerId + ", goodOnSellStat=" + goodOnSellStat + ", seller="
				+ seller + "]";
	}
	
	
	
}
